package mortal.game.resource.info
{
	
	public class ColorInfo extends Object
	{
		public var type:String;
		public var id:String;
		private var _color:String = "#ffffff";
		private var _colorText:String;
		
		public function ColorInfo()
		{
			
		}
		
		public function get colorText() : String
		{
			return this._colorText;
		}
		
		public function set colorText(param1:String) : void
		{
			this._colorText = param1;
			
		}
		
		public function get color() : String
		{
			return this._color;
		}
		
		public function set color(param1:String) : void
		{
			this._color = param1;
			
		}
		
		public function get intColor() : uint
		{
			return parseInt(this._color.substr(1), 16);
		}
		
		public function set intColor(param1:uint) : void
		{
			this._color = "#" + param1.toString(16);
			
		}
		
	}
}
